import request from "@/utils/request"
export default {
  getImportTpl(params) {
    return request({
      url: `/import/tpl?tpl_name=${params.tpl_name}`,
      method: "get",
    })
  },
  // 业绩达成报表 导入个人目标
  kpiImportPersonal(data) {
    return request({
      url: "/base/kpi/import-personal",
      method: "POST",
      data,
    })
  },
  // 业绩达成报表 导入部门目标
  kpiImportDept(data) {
    return request({
      url: "/base/kpi/import-dept",
      method: "POST",
      data,
    })
  },
}
